package com.zuxia.po;

import java.util.HashSet;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Inventoryinfo entity. @author MyEclipse Persistence Tools
 */

public class Inventoryinfo implements java.io.Serializable {

	// Fields

	private Integer itiid;
	private Partstypeinfo partstypeinfo;
	private Cardtypeinfo cardtypeinfo;
	private String itiname;
	private Integer itiprice;
	private Integer itiselling;
	private String itipicture;
	private String itiparameter;
	private String itieffect;
	private Integer iticount;
	@JSONField(serialize=false)
	private Set putinrecordinfos = new HashSet(0);
	@JSONField(serialize=false)
	private Set deliveryrecordinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Inventoryinfo() {
	}

	/** minimal constructor */
	public Inventoryinfo(Partstypeinfo partstypeinfo,
			Cardtypeinfo cardtypeinfo, String itiname, Integer itiprice,
			Integer itiselling, String itipicture, String itiparameter,
			String itieffect, Integer iticount) {
		this.partstypeinfo = partstypeinfo;
		this.cardtypeinfo = cardtypeinfo;
		this.itiname = itiname;
		this.itiprice = itiprice;
		this.itiselling = itiselling;
		this.itipicture = itipicture;
		this.itiparameter = itiparameter;
		this.itieffect = itieffect;
		this.iticount = iticount;
	}

	/** full constructor */
	public Inventoryinfo(Partstypeinfo partstypeinfo,
			Cardtypeinfo cardtypeinfo, String itiname, Integer itiprice,
			Integer itiselling, String itipicture, String itiparameter,
			String itieffect, Integer iticount, Set putinrecordinfos,
			Set deliveryrecordinfos) {
		this.partstypeinfo = partstypeinfo;
		this.cardtypeinfo = cardtypeinfo;
		this.itiname = itiname;
		this.itiprice = itiprice;
		this.itiselling = itiselling;
		this.itipicture = itipicture;
		this.itiparameter = itiparameter;
		this.itieffect = itieffect;
		this.iticount = iticount;
		this.putinrecordinfos = putinrecordinfos;
		this.deliveryrecordinfos = deliveryrecordinfos;
	}

	// Property accessors

	public Integer getItiid() {
		return this.itiid;
	}

	public void setItiid(Integer itiid) {
		this.itiid = itiid;
	}

	public Partstypeinfo getPartstypeinfo() {
		return this.partstypeinfo;
	}

	public void setPartstypeinfo(Partstypeinfo partstypeinfo) {
		this.partstypeinfo = partstypeinfo;
	}

	public Cardtypeinfo getCardtypeinfo() {
		return this.cardtypeinfo;
	}

	public void setCardtypeinfo(Cardtypeinfo cardtypeinfo) {
		this.cardtypeinfo = cardtypeinfo;
	}

	public String getItiname() {
		return this.itiname;
	}

	public void setItiname(String itiname) {
		this.itiname = itiname;
	}

	public Integer getItiprice() {
		return this.itiprice;
	}

	public void setItiprice(Integer itiprice) {
		this.itiprice = itiprice;
	}

	public Integer getItiselling() {
		return this.itiselling;
	}

	public void setItiselling(Integer itiselling) {
		this.itiselling = itiselling;
	}

	public String getItipicture() {
		return this.itipicture;
	}

	public void setItipicture(String itipicture) {
		this.itipicture = itipicture;
	}

	public String getItiparameter() {
		return this.itiparameter;
	}

	public void setItiparameter(String itiparameter) {
		this.itiparameter = itiparameter;
	}

	public String getItieffect() {
		return this.itieffect;
	}

	public void setItieffect(String itieffect) {
		this.itieffect = itieffect;
	}

	public Integer getIticount() {
		return this.iticount;
	}

	public void setIticount(Integer iticount) {
		this.iticount = iticount;
	}

	public Set getPutinrecordinfos() {
		return this.putinrecordinfos;
	}

	public void setPutinrecordinfos(Set putinrecordinfos) {
		this.putinrecordinfos = putinrecordinfos;
	}

	public Set getDeliveryrecordinfos() {
		return this.deliveryrecordinfos;
	}

	public void setDeliveryrecordinfos(Set deliveryrecordinfos) {
		this.deliveryrecordinfos = deliveryrecordinfos;
	}

}